﻿@{
    ViewBag.Title = "EditUserForProjectRole";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

  <section id="content" role="main">

                <header>
                    <div id="proj-config-return-link" class="ops-cont">
        <ul class="ops">
            <li>
                <a id="back-lnk" class="back-to-proj-config button first last" href="/plugins/servlet/project-config/AN/summary"><span class="icon icon-back"><span>Back to project: Angel</span></span>Back to project: Angel</a>
            </li>
        </ul>
    </div>
<h1 id="admin-page-heading">Roles</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">
                    

<table class="jiraform maxWidth">
<tbody>
    <tr>
      <td class="jiraformheader">
      <h3 class="formtitle">Assign Default Users to Project Role: Users</h3></td>
    </tr>
    <tr>
      <td class="jiraformheader">You can add and remove default users from the project role <strong>Users</strong> by using the 'Add' and 'Remove' buttons below.</td>
    </tr>
        <tr>
        <td>
            <ul class="optionslist">
                @Html.ActionLink("<< Return to viewing project role Users", "Index", "Role", new { id = "return_link" })
            </ul>
        </td>
    </tr>
        </tbody>
</table>

<!-- Add form -->
<div class="link-wrap item-picker">
    <form class="aui top-label" name="startform" method="POST" action="UserRoleActorAction!addUsers.jspa?projectRoleId=10000">
        <div class="form-body">

            <div class="field-group">
                <label>
                    Add user(s) to project role:
                </label>
    <div class="ajax_autocomplete" id="userNames_container">
            <textarea class="textarea long-field" cols="30" id="userNames" name="userNames" rows="3" wrap="virtual"></textarea>
                <a class="popup-trigger" href="#">
           @Html.ActionLink("Select Users","SelectUser","User")
        </a>
                <div id="userNames_results" class="ajax_results"></div>
        <div class="description"">Start typing to get a list of possible matches.</div>
        </div>
            </div>
        </div>
        <div class="buttons-container form-buttons">
            <div class="buttons">
                <input class="aui-button" type="submit" name="add" value="Add" />
            </div>
        </div>
    </form>
</div>


                </div>
            </div>
        
    </section>

